home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.20020314-20021006
/
000097_repost@nospam.…nate2create.com_Thu May 30 13:57:41 EDT 2002.msg
< prev
next >
Wrap
Text File
|
2020-01-01
|
3KB
|
73 lines
Article: 13391 of comp.protocols.kermit.misc
Newsgroups: comp.protocols.kermit.misc
Subject: getting error: A specified file does not support the ioctl system call
From: repost@nospam.innate2create.com
Date: Wed, 29 May 2002 01:52:37 GMT
X-Newsreader: News Rover 7.4.3 (http://www.NewsRover.com)
NNTP-Posting-Host: 127.0.0.1
Message-ID: <3cf432a3_5@corp-goliath.newsgroups.com>
Lines: 55
X-Authenticated-User: 1004109813
X-Comments: This message was posted through Newsfeeds.com - http://www.newsfeeds.com
X-Comments2: IMPORTANT: newsfeeds.com does not condone, nor support, spam or any illegal or copyrighted postings.
X-Report: Please report abuse to <abuse@Newsfeeds.com>
Organization: Posted Via Newsfeeds.com = SPEED+RETENTION+COMPLETION = http://www.newsfeeds.com
Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!newsswitch.lcs.mit.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-out.nuthinbutnews.com!propagator-sterling!news-in.nuthinbutnews.com!corp-goliath.newsgroups.com!not-for-mail
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13391
Been trying to convert a Kermit job to cron but get the following error
output to stderr:
tcgetattr: A specified file does not support the ioctl system call
The kermit script is simple and works just fine manually, ie with a terminal
session and downloading a file via xmodem from the remote host. However, in
making it a cron job, it fails at the very moment the xmodem file transfer
begins with a 0 byte file rcv'd. Dialing the modem works fine, getting
carrier works fine and dialog to login with username and password works fine
in cron mode, however, manual mode is successful in receiving the file via
xmodem and cron is not.
Running kermit version 8 under AIX version 4.3.3. I realize that running
under cron is slightly different that running a terminal session, ie stdin
and stdout, but not sure if I'm missing a switch or parameter when in comes
to the xmodem file transfer. Any comments or suggestions would be
appreciated...
Snipet of the script is as follows:
define DIALGE {
if not defined MODEM end 1 {\%0: Modem type not defined.}
set modem type \m(MODEM)
if fail end 1 {\%0: \m(MODEM): Unsupported modem type.}
if not defined PORT end 1 {\%0: Communication port not defined.}
set port \m(PORT)
if fail end 1 {\%0: SET PORT \m(PORT) failed.}
if defined FLOW set flow \m(FLOW)
if fail end 1 {\%0: SET FLOW \m(FLOW) failed.}
If defined SPEED set speed \m(SPEED)
if fail end 1 {\%0: SET SPEED \m(SPEED) failed.}
set protocol xmodem {} {} {} {} {} {xmodem -r %s}
set file type text
dial 91336...
input 5 Enter Client I.D. Number
OUTPUT 1...\{13}
input 5 Enter Password
OUTPUT C...\{13}
input 5 >
OUTPUT 2\{13}
input 5 Enter file name to download
OUTPUT pcpy1.dat\{13}
input 5 Set up to receive the file.
#if failure end 1 LEAVE
pause 2
receive pcpy1.dat
OUTPUT 4\{13}
end \v(status)
}
-----------== Posted via Newsfeed.Com - Uncensored Usenet News ==----------
http://www.newsfeed.com The #1 Newsgroup Service in the World!
-----= Over 100,000 Newsgroups - Unlimited Fast Downloads - 19 Servers =-----